-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redfish: Filter empty account slots from ListUsers #6772
Redfish: Filter empty account slots from ListUsers #6772
Conversation
Signed-off-by: Mike Raineri <michael.raineri@dell.com>
changelogs/fragments/6771-redfish-filter-empty-account-slots.yml
Outdated
Show resolved
Hide resolved
Co-authored-by: Felix Fontein <felix@fontein.de>
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #6793 🤖 @patchback |
* Redfish: Filter empty account slots from ListUsers Signed-off-by: Mike Raineri <michael.raineri@dell.com> * Update 6771-redfish-filter-empty-account-slots.yml * Update changelogs/fragments/6771-redfish-filter-empty-account-slots.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Signed-off-by: Mike Raineri <michael.raineri@dell.com> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 93f5a48)
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #6794 🤖 @patchback |
@mraineri thanks for your contribution! |
* Redfish: Filter empty account slots from ListUsers Signed-off-by: Mike Raineri <michael.raineri@dell.com> * Update 6771-redfish-filter-empty-account-slots.yml * Update changelogs/fragments/6771-redfish-filter-empty-account-slots.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Signed-off-by: Mike Raineri <michael.raineri@dell.com> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 93f5a48)
…slots from ListUsers (#6793) Redfish: Filter empty account slots from ListUsers (#6772) * Redfish: Filter empty account slots from ListUsers Signed-off-by: Mike Raineri <michael.raineri@dell.com> * Update 6771-redfish-filter-empty-account-slots.yml * Update changelogs/fragments/6771-redfish-filter-empty-account-slots.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Signed-off-by: Mike Raineri <michael.raineri@dell.com> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 93f5a48) Co-authored-by: Mike Raineri <mraineri@gmail.com>
…slots from ListUsers (#6794) Redfish: Filter empty account slots from ListUsers (#6772) * Redfish: Filter empty account slots from ListUsers Signed-off-by: Mike Raineri <michael.raineri@dell.com> * Update 6771-redfish-filter-empty-account-slots.yml * Update changelogs/fragments/6771-redfish-filter-empty-account-slots.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Signed-off-by: Mike Raineri <michael.raineri@dell.com> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 93f5a48) Co-authored-by: Mike Raineri <mraineri@gmail.com>
SUMMARY
Fixes the output for the ListUsers command in redfish.info to suppress empty account slots for services that do not support POST/DELETE to add/remove users.
Fixex #6771
ISSUE TYPE
COMPONENT NAME
redfish_info.py, redfish_utils.py
ADDITIONAL INFORMATION
Sample playbook; requires a Redfish service that shows empty account slots (like an iDRAC on a Dell PowerEdge server)
Before:
After: